<!-- 测评内容管理页面 -->
<div class="content-area" id="evaluation-content-management">
    <div class="page-header">
        <div class="page-title">测评内容管理</div>
        <div class="page-description">管理考核指标、考核点和指标权重，分为部门测评内容和教师测评内容</div>
    </div>

    <div class="tabs-container">
        <div class="tabs">
            <div class="tab active" onclick="EvaluationContentModule.switchTab('indicators')">考核指标</div>
            <div class="tab" onclick="EvaluationContentModule.switchTab('points')">考核点</div>
            <div class="tab" onclick="EvaluationContentModule.switchTab('weights')">指标权重</div>
        </div>

        <!-- 考核指标子页面 -->
        <div class="tab-content active" id="indicators-tab">
            <div class="table-container">
                <div class="table-header">
                    <div class="table-title">考核指标列表</div>
                    <div class="table-actions">
                        <input class="search-input" id="indicatorNameSearch" placeholder="搜索指标名称"
                               type="text">
                        <select class="search-select" id="indicatorTypeSearch">
                            <option value="">全部类型</option>
                            <option value="0">对教师</option>
                            <option value="1">对部门</option>
                        </select>
                        <button class="btn btn-secondary" onclick="EvaluationContentModule.searchIndicators()">
                            搜索
                        </button>
                        <button class="btn btn-primary" onclick="EvaluationContentModule.showIndicatorModal()">
                            新增指标
                        </button>
                        <button class="btn btn-secondary" onclick="EvaluationContentModule.importIndicators()">
                            导入
                        </button>
                        <button class="btn btn-info" onclick="EvaluationContentModule.downloadIndicatorsTemplate()">
                            下载模板
                        </button>
                        <button class="btn btn-secondary" onclick="EvaluationContentModule.exportIndicators()">
                            导出
                        </button>
                    </div>
                </div>
                <div class="table-content" id="indicatorsTableContent">
                    <table class="data-table">
                        <thead>
                        <tr>
                            <th>指标编号</th>
                            <th>指标名称</th>
                            <th>排序</th>
                            <th>考核方式</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody id="indicatorsTableBody">
                        <tr>
                            <td class="loading" colspan="5">加载中...</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="pagination-container" id="indicatorsPagination">
                    <!-- 分页组件将在这里动态生成 -->
                </div>
            </div>
        </div>

        <!-- 考核点子页面 -->
        <div class="tab-content" id="points-tab">
            <div class="table-container">
                <div class="table-header">
                    <div class="table-title">考核点列表</div>
                    <div class="table-actions">
                        <select class="search-select" id="pointIndicatorSearch">
                            <option value="">选择指标</option>
                        </select>
                        <input class="search-input" id="pointNameSearch" placeholder="搜索考核点名称"
                               type="text">
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.searchIndicatorPoints()">搜索
                        </button>
                        <button class="btn btn-primary"
                                onclick="EvaluationContentModule.showIndicatorPointModal()">新增考核点
                        </button>
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.importIndicatorPoints()">导入
                        </button>
                        <button class="btn btn-info"
                                onclick="EvaluationContentModule.downloadIndicatorPointsTemplate()">下载模板
                        </button>
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.exportIndicatorPoints()">导出
                        </button>
                    </div>
                </div>
                <div class="table-content" id="indicatorPointsTableContent">
                    <table class="data-table">
                        <thead>
                        <tr>
                            <th>指标编号</th>
                            <th>指标名称</th>
                            <th>考核点编号</th>
                            <th>考核点名称</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td class="loading" colspan="5">加载中...</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="pagination-container" id="indicatorPointsPagination">
                    <!-- 分页组件将在这里动态生成 -->
                </div>
            </div>
        </div>

        <!-- 指标权重子页面 -->
        <div class="tab-content" id="weights-tab">
            <div class="table-container">
                <div class="table-header">
                    <div class="table-title">考核指标权重列表</div>
                    <div class="table-actions">
                        <select class="search-select" id="weightTypeSearch">
                            <option value="">全部类型</option>
                            <option value="0">对教师</option>
                            <option value="1">对部门</option>
                        </select>
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.searchIndicatorWeights()">搜索
                        </button>
                        <button class="btn btn-primary"
                                onclick="EvaluationContentModule.showIndicatorWeightModal()">新增权重
                        </button>
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.importIndicatorWeights()">导入
                        </button>
                        <button class="btn btn-info"
                                onclick="EvaluationContentModule.downloadIndicatorWeightsTemplate()">下载模板
                        </button>
                        <button class="btn btn-secondary"
                                onclick="EvaluationContentModule.exportIndicatorWeights()">导出
                        </button>
                    </div>
                </div>
                <div class="table-content" id="indicatorWeightsTableContent">
                    <table class="data-table">
                        <thead>
                        <tr>
                            <th>权重编号</th>
                            <th>权重名称</th>
                            <th>权重值</th>
                            <th>测评类型</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td class="loading" colspan="5">加载中...</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 测评类型页面 -->
<div class="content-area" id="evaluation-type-management">
    <div class="page-header">
        <div class="page-title">测评类型</div>
        <div class="page-description">管理测评类型，分为部门测评和教师测评</div>
    </div>

    <div class="table-container">
        <div class="table-header">
            <div class="table-title">测评类型列表</div>
            <div class="table-actions">
                <button class="btn btn-primary" onclick="EvaluationContentModule.showEvaluationTypeModal()">
                    新增测评类型
                </button>
                <button class="btn btn-secondary" onclick="EvaluationContentModule.importEvaluationTypes()">
                    导入
                </button>
                <button class="btn btn-secondary" onclick="EvaluationContentModule.exportEvaluationTypes()">
                    导出
                </button>
            </div>
        </div>
        <div class="table-content" id="evaluationTypeTableContent">
            <table class="data-table">
                <thead>
                <tr>
                    <th>类型编号</th>
                    <th>类型名称</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td class="loading" colspan="3">加载中...</td>
                </tr>
                </tbody>
            </table>
            <div class="pagination-container" id="evaluationTypePagination"></div>
        </div>
    </div>
</div> 